<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:26:"themes\category\index.html";i:1533121862;s:26:"themes\\header\header.html";i:1533108540;s:24:"themes\\right\right.html";i:1533107020;s:26:"themes\\footer\footer.html";i:1531447129;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta charset="utf-8">
    <title><?php echo $getcategory['name']; ?>-<?php echo $site_config['site_title']; ?></title>
    <meta name="keywords" content="<?php echo $site_config['seo_keyword']; ?>">
    <meta name="description" content="<?php echo $site_config['seo_description']; ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="/80629093830.png" />
    <link href="__public__css/base.css" rel="stylesheet">
    <link href="__public__css/index.css" rel="stylesheet">
    <link rel="stylesheet" href="__public__css/page_css.css">
    <link href="__public__css/m.css" rel="stylesheet">
    <link rel="stylesheet" href="/public/static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/public/static/css/font-awesome.min.css">
</head>
<body>
<header class="header-navigation slideDown" id="header">
	<nav>
		<div class="logo"><a href="/"><h4 style="font-weight: bold;color: #0A8EE2">MaTie  Blog</h4></a></div>
		<h2 id="mnavh"><span class="navicon"></span></h2>
		<ul id="starlist">
			<li<?php if(strtoupper(strlen($currenturl)) == '1'): ?> class="l_active"<?php endif; ?>><a href="/">首页</a></li>
			<?php if(is_array($nav) || $nav instanceof \think\Collection): if( count($nav)==0 ) : echo "" ;else: foreach($nav as $key=>$vo): ?>
			<li <?php if(strstr($currenturl,$vo['link']))echo' id="selected"' ?>>
			<a href="/<?php echo $vo['link']; ?>"><?php echo $vo['name']; ?></a>
			</li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
		<div class="searchbox">
			<div id="search_bar" class="search_bar">
				<form id="searchform" action="/index/so/index.html" method="get" >
					<input class="input" placeholder="想搜点什么呢.." name="key" id="keyboard" type="text">
					<input name="Submit" value="搜索" type="hidden">
					<p class="search_ico"> <span></span></p>
				</form>
			</div>
		</div>
	</nav>
</header>
<article style="position: relative;">
    <main>
        <div class="blogtab">
            <?php if(is_array($article_list) || $article_list instanceof \think\Collection): if( count($article_list)==0 ) : echo "暂时没有数据" ;else: foreach($article_list as $key=>$vo): ?>
            <div class="blogs" data-scroll-reveal="enter bottom over 1s" data-scroll-reveal-id="12" style="-webkit-transform: translatey(24px);transform: translatey(24px);opacity: 0;-webkit-transition: -webkit-transform 1s ease-in-out 0s,  opacity 1s ease-in-out 0s;transition: transform 1s ease-in-out 0s,  opacity 1s ease-in-out 0s;-webkit-perspective: 1000;-webkit-backface-visibility: hidden;" data-scroll-reveal-initialized="true">
                <h3 class="blogtitle"><a href="<?php echo url('article/index','id='.$vo['id']); ?>" ><?php echo $vo['title']; ?></a></h3>
                <span class="blogpic">
                      <a href="<?php echo url('article/index','id='.$vo['id']); ?>" title="<?php echo $vo['title']; ?>">
                          <img src="<?php echo $vo['thumb']; ?>" alt="<?php echo $vo['title']; ?>">
                      </a>
                 </span>
                <p class="blogtext"><?php echo $vo['introduction']; ?>
                </p>
                <div class="bloginfo">
                    <ul>
                        <li class="author"><?php echo $vo['author']; ?></li>
                        <li class="lmname"><a href="#" ><?php echo $getcategoryName[$vo['cid']]; ?></a></li>
                        <li class="timer"><?php echo $vo['publish_time']; ?></li>
                        <li class="view"><span><?php echo $vo['reading']; ?></span></li>

                    </ul>
                </div>
            </div>
            <?php endforeach; endif; else: echo "暂时没有数据" ;endif; ?>
        </div>
        <div class="pagelist pages ">
            <?php echo $article_list->render(); ?>
        </div>
    </main>
    <aside id="stickMe" style="position: static; left: auto; width: 1000px;" class="">
	<div class="r_box">
		<div class="fenlei" style="border: 1px solid #ddd">
			<i class="fa fa-bars"></i>
			<h2>随机文章</h2>
			<ul>
				<?php if(is_array($randarticle) || $randarticle instanceof \think\Collection): if( count($randarticle)==0 ) : echo "" ;else: foreach($randarticle as $i=>$vo): ?>
				<li><a href="https://www.yangqq.com/download/div/"><?php echo $vo['title']; ?> ( <?php echo $vo['reading']; ?> )</a></li>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="cloud" style="border: 1px solid #ddd">
			<i class="fa fa-bars"></i>
			<h2>标签云</h2>
			<ul>
				<?php if(is_array($tags) || $tags instanceof \think\Collection): if( count($tags)==0 ) : echo "" ;else: foreach($tags as $i=>$vo): ?>
				<a href="/index/so/index.html?key=<?php echo $vo['tagname']; ?>" target="_blank"><?php echo $vo['tagname']; ?></a>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="fenlei" style="border: 1px solid #ddd">
			<i class="fa fa-bars"></i>
			<h2>友情链接</h2>
			<ul>
				<?php if(is_array($links) || $links instanceof \think\Collection): if( count($links)==0 ) : echo "" ;else: foreach($links as $key=>$vo): ?>
				<li style="display: inline;float: left"><a href="<?php echo $vo['linkurl']; ?>" target="_blank" title="<?php echo $vo['linkname']; ?>"><?php echo $vo['linkname']; ?></a></li>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<div class="guanzhu" style="border: 1px solid #ddd">
			<i class="fa fa-bars"></i>
			<h2>关注博主</h2>
			<ul>
				<img src="__public__images/timg.jpg">
			</ul>
			<ul>
				<li class="qq"><a href="#" target="_blank"><span>QQ号</span>1095013906</a></li>
				<li class="github"><a href="https://github.com/tiedong" target="_blank"><span>github</span>tiedong</a></li>
				<li class="mayun"><a href="https://gitee.com/tiedong" target="_blank"><span>码云</span>254733775@qq.com</a></li>
			</ul>
		</div>
	</div>
</aside>
</article>
<footer>
    <p>Design by <a href="http://www.yangqq.com/" target="_blank">MaTie</a> <a href="https://www.yangqq.com/">粤ICP备17136532号-1</a></p>
</footer>
<a href="#" class="cd-top">Top</a>

<script src="__public__js/jquery.js"></script>
<script src="__public__js/jquery_002.js"></script>
<script src="__public__js/hc-sticky.js"></script>
<script src="__public__js/comm.js"></script>
<script src="__public__js/scrollReveal.js"></script>
<!--[if lt IE 9]>
<script src="/skin/show/js/modernizr.js"></script>
<![endif]-->
</body></html>